python max absolute value

22

python max absolute value -

>>> max([3, 7, -10], key=abs)
-10

Comments

Submit
0 Comments